html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #FFFFFF;
}

.clear {
    clear: both;
}

body, td, th, input, select, textarea, option, optgroup {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
}

input[type='text'], input[type='password'] {
    padding: 2px;
}

select {
    padding: 1px;
}

textarea {
    padding: 2px;
}

a, a:visited {
    color: #003366;
    text-decoration: underline;
    cursor: pointer;
}

a img {
    border: 0;
}

form {
    margin: 0;
    padding: 0;
}

label {
    cursor: pointer;
}

.hidden {
    display: none;
}

#header .div1 {
    height: 56px;
    padding: 0 30px;
    background: black;
    min-width: 900px;
}

#header .div2 {
    color: #FFFFFF;
    padding: 18px 0 0 0;
    float: left;
}

#header .div3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #FFF;
    text-align: right;
    padding: 15px 0px 0px 0px;
    float: right;
}

#header .div2 span {
    font-weight: bold;
}

.logo {
    background: url("../../images/logo.png") no-repeat left top;
    width: 251px;
    height: 52px;
    display: block;
    text-indent: -9999em;
    position: absolute;
    top: 4px;
    left: 30px;
}

#menu {
    background: url('../../images/admin/menu.png') repeat-x;
    position: relative;
    z-index: 1;
    height: 34px;
    clear: both;
    padding: 0px 30px;
    min-width: 900px;
}

#menu > ul.left {
    float: left;
}

#menu > ul.right {
    float: right;
}

#menu > ul {
    position: relative;
    margin: 0;
    padding: 0;
}

#menu > ul ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: url('../../images/admin/transparent.png');
}

#menu > ul a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 5px;
}

#menu > ul > li + li {
    background: url('../../images/admin/split.png') center left no-repeat;
}

#menu > ul .top, #menu > ul li li.sfhover {
    padding: 10px 15px 9px 17px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #FFFFFF;
    text-align: center;
}

#menu ul ul {
    display: none;
}

#menu ul li:hover > ul {
    display: block;
}

#menu > ul ul li {
    padding: 2px;
}

#menu > ul .active .top {
    background: url('../../images/admin/selected.png') repeat-x;
    color: white;
}

#menu > ul .active:hover a.top, #menu > ul .sfhover a.top {
}

#menu > ul .parent {
    background: url('../../images/admin/arrow-right.png') 95% center no-repeat;
}

#menu > ul li {
    float: left;
    list-style: none;
}

#menu > ul li ul {
    position: absolute;
}

#menu > ul li li {
    clear: both;
}

#menu > ul li ul a {
    color: #FFFFFF;
    height: 15px;
    width: 145px;
}

#menu > ul li ul ul {
    margin: -27px 0 0 157px;
}

#menu > ul li li:hover, #menu > ul li li.sfhover {
    background: #C55B27;
    color: #000000;
}

#container {
    height: 100%;
}

body > #container {
    height: auto;
    min-height: 100%;
}

#content {
    background: #FFFFFF url('../../images/admin/background.png') 0px 1px repeat-x;
    padding: 10px 30px 0px 30px;
    min-width: 900px;
    padding-bottom: 128px;
}

#footer {
    background: #FFFFFF url('../../images/admin/footer.png') repeat-x;
    height: 90px;
    padding-top: 38px;
    text-align: center;
    font-size: 12px;
    color: #333;
    position: relative;
    margin-top: -128px;
    clear: both;
}

#footer a {
    color: #333;
    text-decoration: underline;
}

.breadcrumb, .breadcrumb a {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.required {
    font-weight: bold;
}

.error {
    color: #FF0000;
    font-size: 12px;
    font-weight: normal;
}

.success {
    padding: 10px 10px 10px 33px;
    margin-bottom: 15px;
    background: #EAF7D9 url('image/success.png') 10px center no-repeat;
    border: 1px solid #BBDF8D;
    color: #555555;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -khtml-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

.warning {
    padding: 10px 10px 10px 33px;
    margin-bottom: 15px;
    background: #FFD1D1 url('image/warning.png') 10px center no-repeat;
    border: 1px solid #F8ACAC;
    color: #555555;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -khtml-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

.attention {
    padding: 10px 10px 10px 33px;
    margin-bottom: 15px;
    background: #FFF5CC url('image/attention.png') 10px center no-repeat;
    border: 1px solid #F2DD8C;
    color: #555555;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -khtml-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

input.error, select.error, textarea.error {
    display: block;
}

select.error {
    padding: 1px;
}

.help {
    color: #666;
    font-size: 11px;
    font-weight: normal;
    font-family: Verdana, Geneva, sans-serif;
    display: block;
}

.icon {
    vertical-align: middle;
    cursor: pointer;
}

.image {
    border: 1px solid #EEEEEE;
    padding: 10px;
    display: inline-block;
    cursor: pointer;
}

.image img {
    margin-bottom: 5px;
}

.box {
    margin-bottom: 15px;
}

.box > .heading {
    height: 38px;
    padding-left: 7px;
    padding-right: 7px;
    border: 1px solid #DBDBDB;
    background: url('../../images/admin/box.png') repeat-x;
    -webkit-border-radius: 7px 7px 0px 0px;
    -moz-border-radius: 7px 7px 0px 0px;
    -khtml-border-radius: 7px 7px 0px 0px;
    border-radius: 7px 7px 0px 0px;
}

.box > .heading h1 {
    margin: 0px;
    padding: 11px 0px 0px 0px;
    color: #003A88;
    font-size: 16px;
    float: left;
}

.box > .heading h1 img {
    float: left;
    margin-top: -1px;
    margin-left: 3px;
    margin-right: 8px;
}

.box > .heading .buttons {
    float: right;
    padding-top: 7px;
    margin-right: 5px;
}

.box > .heading .buttons .button {
    margin-left: 5px;
}

.box > .content h2 {
    text-transform: uppercase;
    color: #FF802B;
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 3px;
    border-bottom: 1px dotted #000000;
}

.box > .content {
    padding: 10px;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    min-height: 300px;
    overflow: auto;
}

input.button, a.button, .list a.button {
    text-decoration: none;
    color: #FFF;
    display: inline-block;
    padding: 5px 15px 5px 15px;
    background: #003A88;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -khtml-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    border: 0px;
    cursor: pointer;
}

.list {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    margin-bottom: 20px;
}

.list td {
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

.list thead th {
    background-color: #EFEFEF;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    padding: 7px;
}

.list thead th a, .list thead th {
    text-decoration: none;
    color: #222222;
    font-weight: bold;
}

.list tbody td a {
    text-decoration: underline;
    margin-right: 3px;
}

.list tbody td {
    vertical-align: middle;
    padding: 7px;
    background: #FFFFFF;
}

.list .left {
    text-align: left;
    padding: 7px;
}

.list .right {
    text-align: right;
    padding: 7px;
}

.list .center {
    text-align: center;
    padding: 7px;
}

.list .asc {
    padding-right: 15px;
    background: url('../../images/admin/asc.png') right center no-repeat;
}

.list .desc {
    padding-right: 15px;
    background: url('../../images/admin/desc.png') right center no-repeat;
}

.list tr.filters td {
    padding: 5px;
    background: #E7EFEF;
}

.grid-view .filters input, .grid-view .filters select {
    width: auto;
    border: 1px solid #CCC;
}

.pagination {
    border-top: 1px solid #DDDDDD;
    display: inline-block;
    width: 100%;
    padding-top: 6px;
}

.pagination .links {
    float: left;
    padding-top: 6px;
}

.pagination .links a {
    border: 1px solid #DDDDDD;
    padding: 4px 10px;
    font-size: 12px;
    text-decoration: none;
    color: #A3A3A3;
}

.pagination .links b {
    border: 1px solid #269BC6;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    color: #269BC6;
    background: #FFFFFF;
}

.pagination .results {
    float: right;
    padding-top: 6px;
    font-size: 12px;
}

table.form {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table.form > tbody > tr > td:first-child {
    width: 200px;
}

table.form > tbody > tr > td {
    padding: 10px;
    color: #000000;
    border-bottom: 1px dotted #CCCCCC;
}

.scrollbox {
    border: 1px solid #CCCCCC;
    width: 350px;
    height: 100px;
    background: #FFFFFF;
    overflow-y: scroll;
}

.scrollbox img {
    float: right;
    cursor: pointer;
}

.htabs {
    padding: 0px 0px 0px 10px;
    height: 30px;
    line-height: 16px;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 15px;
}

.htabs a {
    border-top: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    background: #FFFFFF url('../../images/admin/tab.png') repeat-x;
    padding: 7px 15px 6px 15px;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #000000;
    margin-right: 2px;
    display: none;
}

.htabs a.selected {
    padding-bottom: 7px;
    background: #FFFFFF;
}

.vtabs {
    width: 190px;
    padding: 10px 0px;
    min-height: 300px;
    float: left;
    display: block;
    border-right: 1px solid #DDDDDD;
}

.vtabs a {
    display: none;
}

.vtabs a, .vtabs span {
    display: block;
    float: left;
    width: 160px;
    margin-bottom: 5px;
    clear: both;
    border-top: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    background: #F7F7F7;
    padding: 6px 14px 7px 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-align: right;
    text-decoration: none;
    color: #000000;
}

.vtabs a.selected {
    padding-right: 15px;
    background: #FFFFFF;
}

.vtabs a img, .vtabs span img {
    position: relative;
    top: 3px;
    cursor: pointer;
}

.vtabs-content {
    margin-left: 205px;
}

.accordion-heading {
    background: #EFEFEF;
    border: 1px solid #DDDDDD;
    padding: 8px;
    font-weight: bold;
    font-size: 13px;
    color: #555555;
    margin-bottom: 15px;
}

.accordion-heading a {
    float: right;
    margin-top: 1px;
    font-weight: normal;
    text-decoration: none;
}

.accordion-content {
    padding: 0px 0px 15px 0px;
    overflow: auto;
}

.scrollbox div {
    padding: 3px;
}

.scrollbox div input {
    margin: 0px;
    padding: 0px;
    margin-right: 3px;
}

.scrollbox div.even {
    background: #FFFFFF;
}

.scrollbox div.odd {
    background: #E4EEF7;
}

.overview {
    float: left;
    width: 49%;
    margin-bottom: 20px;
}

.overview table {
    width: 100%;
}

.overview td + td {
    text-align: right;
}

.statistic {
    float: right;
    width: 49%;
    margin-bottom: 20px;
}

.range {
    float: right;
    color: #FFF;
    vertical-align: middle;
}

.range {
    padding-top: 1px;
    padding-right: 1px;
}

.range, .range select {
    font-size: 11px;
}

.latest {
    clear: both;
}

.latest tbody td {
    background: #FFF;
}

.dashboard-heading {
    background: #547C96;
    color: #FFF;
    border-bottom: 1px solid #8EAEC3;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
}

.dashboard-content {
    background: #FCFCFC;
    border: 1px solid #8EAEC3;
    padding: 10px;
    min-height: 180px;
    height: 391px;
}

.refresh {
    cursor: pointer;
    position: relative;
    top: 3px;
}

.paging a.active {
    color: red;
}

.loading {
    background: url("../../images/loading.gif") no-repeat transparent;
    width: 32px;
    height: 32px;
}

.image .loading {
    position: absolute;
    top: 50px;
    left: 40px;
}

.image {
    position: relative;
    z-index: 999;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
}

.image .image_upload {
    z-index: 9999;
    opacity: 0;
    filter: alpha(opacity = 0);
    font-size: 55px;
    position: absolute;
    height: 100%;
    width: 100%;
    cursor: pointer;
    top: 10px;
    left: 0;
}

#container-icon {
    min-height: 100px;
    min-width: 100px;
}

.tiny_mce {
    width: 350px;
}

.slide-img {
    list-style: none;
}

.slide-img li {
    float: left;
    text-align: left;
    margin: 0 10px 10px 0;
}

.slide-img li img {
    width: 100px;
    /*height: 150px;*/
}

.ui-sortable tr:hover {
    cursor: move;
}

.infor {
    /*width: 500px;*/
    padding-top: 15px;
    padding-left: 26px;
}

.infor_overview {
    /*width: 500px;*/
    padding-top: 15px;
    padding-left: 26px;
}

.infor_overview table {
    padding: 2px;
    margin-right: 12px;
    margin-left: -3px;
    width: 512px;
    float: left;
    margin-top: 14px;
    height: 124px;
}

.infor table {
    padding: 2px;
    margin-right: 12px;
    margin-left: -3px;
    width: 250px;
    float: left;
}

.range {
    padding-top: 1px;
    padding-right: 1px;
    float: right;
    color: white;
    vertical-align: middle;
}

.range, .range select {
    font-size: 11px;
}

.synchorize {
    margin-left: 1049px;
}

input[name="BuyItemLog[id]"] {
    max-width: 55px;
}

input[name="BuyItemLog[item_id]"] {
    max-width: 55px;
}

input[name="BuyItemLog[totalpay]"] {
    max-width: 55px;
}

input[name="BuyItemLog[status]"] {
    max-width: 55px;
}

input[name="BuyItemLog[pay_status]"] {
    max-width: 110px;
}

#facebox {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 102;
    text-align: left;
}

#facebox .popup {
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    min-height: 200px;
    min-width: 300px;
    background-color: #EBEBEB;
}

#facebox .loading {
    display: none;
    position: absolute;
    left: 220px;
    top: 180px;
}

.faceboxTitle {
    height: 46px;
    background: #313131;
    clear: both;
    line-height: 46px;
    color: #fff;
    position: relative;
}

#facebox .logo-v4 {
    background: url(../../images/logo-v3.png) no-repeat 17px 6px;
    height: 40px;
    width: 250px;
    top: 0;
    left: 0;
    position: absolute;
}

.faceboxTitle .label {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    left:250px;
}

#facebox .faceboxContent {
    display: table;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-left: 0;
    width: 100%;
    background: #F3F3F3;
}

#facebox .content > p:first-child {
    margin-top: 0;
}

#facebox .content > p:last-child {
    margin-bottom: 0;
}

#facebox .close {
    position: absolute;
    top: -2px;
    right: 10px;
    padding: 2px;

}

#facebox .close img {
    opacity: 0.3;
}

#facebox .close:hover img {
    opacity: 1.0;
}

#facebox .image {
    text-align: center;
}

#facebox img {
    border: 0;
    margin: 0;
}

#facebox_overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

.facebox_hide {
    z-index: -100;
}

.facebox_overlayBG {
    background-color: #000;
    z-index: 101;
}

#facebox .button {
    margin-top: 15px;
    font-weight: bold;
    border: 1px solid #BEBEBE;
    padding: 10px 10px;
    width: 50px;
    margin: 0 auto;
    border-radius: 5px;
    background-image: linear-gradient(bottom, rgb(242, 242, 242) 0%, rgb(255, 255, 255) 100%);
    background-image: -o-linear-gradient(bottom, rgb(242, 242, 242) 0%, rgb(255, 255, 255) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(242, 242, 242) 0%, rgb(255, 255, 255) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(242, 242, 242) 0%, rgb(255, 255, 255) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(242, 242, 242) 0%, rgb(255, 255, 255) 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(242, 242, 242)), color-stop(1, rgb(255, 255, 255)));
    text-shadow: 1px 1px 1px #FFFFFF;
    text-align: center;
    cursor: pointer;
}
